package com.yonyou.gmmc.service.points.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "TM_COUPON")
public class TmCoupon {
    @Id
    @Column(name = "COUPON_ID")
    private Long couponId;

    @Column(name = "BATCH_ID")
    private String batchId;

    @Column(name = "COUPON_BEGIN")
    private Date couponBegin;

    @Column(name = "COUPON_END")
    private Date couponEnd;

    @Column(name = "PUBLISH_DATE")
    private Date publishDate;

    @Column(name = "USEING_DATE")
    private Date useingDate;

    @Column(name = "USEED_DATE")
    private Date useedDate;

    @Column(name = "USER_ID")
    private Integer userId;

    @Column(name = "COUPON_STATUS")
    private Integer couponStatus;

    @Column(name = "DEALER_CODE")
    private String dealerCode;

    @Column(name = "ORDER_ID")
    private String orderId;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    @Column(name = "CREATE_BY")
    private Integer createBy;

    @Column(name = "UPDATE_BY")
    private Integer updateBy;

    @Column(name = "COUPON_REMARKS")
    private String couponRemarks;

    /**
     * 新增字段，表示业务ID
     */
    @Column(name = "BIZ_ID")
    private String bizId;

    /**
     * @return COUPON_ID
     */
    public Long getCouponId() {
        return couponId;
    }

    /**
     * @param couponId
     */
    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    /**
     * @return BATCH_ID
     */
    public String getBatchId() {
        return batchId;
    }

    /**
     * @param batchId
     */
    public void setBatchId(String batchId) {
        this.batchId = batchId;
    }

    /**
     * @return COUPON_BEGIN
     */
    public Date getCouponBegin() {
        return couponBegin;
    }

    /**
     * @param couponBegin
     */
    public void setCouponBegin(Date couponBegin) {
        this.couponBegin = couponBegin;
    }

    /**
     * @return COUPON_END
     */
    public Date getCouponEnd() {
        return couponEnd;
    }

    /**
     * @param couponEnd
     */
    public void setCouponEnd(Date couponEnd) {
        this.couponEnd = couponEnd;
    }

    /**
     * @return PUBLISH_DATE
     */
    public Date getPublishDate() {
        return publishDate;
    }

    /**
     * @param publishDate
     */
    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    /**
     * @return USEING_DATE
     */
    public Date getUseingDate() {
        return useingDate;
    }

    /**
     * @param useingDate
     */
    public void setUseingDate(Date useingDate) {
        this.useingDate = useingDate;
    }

    /**
     * @return USEED_DATE
     */
    public Date getUseedDate() {
        return useedDate;
    }

    /**
     * @param useedDate
     */
    public void setUseedDate(Date useedDate) {
        this.useedDate = useedDate;
    }

    /**
     * @return USER_ID
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return COUPON_STATUS
     */
    public Integer getCouponStatus() {
        return couponStatus;
    }

    /**
     * @param couponStatus
     */
    public void setCouponStatus(Integer couponStatus) {
        this.couponStatus = couponStatus;
    }

    /**
     * @return DEALER_CODE
     */
    public String getDealerCode() {
        return dealerCode;
    }

    /**
     * @param dealerCode
     */
    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    /**
     * @return ORDER_ID
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * @param orderId
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return CREATE_BY
     */
    public Integer getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    /**
     * @return UPDATE_BY
     */
    public Integer getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return COUPON_REMARKS
     */
    public String getCouponRemarks() {
        return couponRemarks;
    }

    /**
     * @param couponRemarks
     */
    public void setCouponRemarks(String couponRemarks) {
        this.couponRemarks = couponRemarks;
    }

    /**
     * @return the bizId
     */
    public String getBizId() {
        return bizId;
    }

    
    /**
     * @param bizId the bizId to set
     */
    public void setBizId(String bizId) {
        this.bizId = bizId;
    }
    
}